with FT2.Types; use FT2.Types;
with FT2.Image; use FT2.Image;
with FT2.Base; use FT2.Base;

package FT2.Bitmaps is

   pragma Elaborate_Body;

   procedure Bitmap_New
     (Bitmap : out FT_Bitmap);

   procedure Copy
     (Library : FT_Library;
      Source : FT_Bitmap;
      Target : out FT_Bitmap;
      Error : out FT_Error);

   procedure Embolden
     (Library : FT_Library;
      Bitmap : in out FT_Bitmap;
      X_Strength : FT_Pos;
      Y_Strength : FT_Pos;
      Error : out FT_Error);

   procedure Convert
     (Library : FT_Library;
      Source : FT_Bitmap;
      Target : in out FT_Bitmap;
      Alignment : FT_Int;
      Error : out FT_Error);

   procedure Bitmap_Done
     (Library : FT_Library;
      Bitmap : in out FT_Bitmap;
      Error : out FT_Error);

--     procedure GlyphSlot_Own_Bitmap
--       (Slot : FT_GlyphSlot;
--        Error : out FT_Error);
private
   pragma Import (C, Bitmap_New, "FT_Bitmap_New");

end FT2.Bitmaps;
